﻿<UserControl
    x:Class="PersianDictionary.About"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:PersianDictionary"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="600"
    d:DesignWidth="400">

    <Border BorderBrush="Black" BorderThickness="1,0,0,0">
        <Grid Background="Azure" VerticalAlignment="Stretch">
            <Grid.RowDefinitions>
                <RowDefinition Height="80" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>

            <Grid.Transitions>
                <TransitionCollection>
                    <EntranceThemeTransition FromHorizontalOffset="50" />
                </TransitionCollection>
            </Grid.Transitions>

            <!-- Header area for panel -->
            <Grid Background="SkyBlue" Grid.Row="0" Grid.ColumnSpan="2">

                <Grid Margin="40,32,17,13">

                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="30" />
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>

                    <Button Click="MySettingsBackClicked" Grid.Column="0" Style="{StaticResource SmallBackButtonStyle}" />
                    <TextBlock Margin="10,-5,0,0" Grid.Column="1" FontFamily="Segoe UI" FontWeight="SemiLight" FontSize="24.6667" Text="About" HorizontalAlignment="Left" />
                </Grid>
            </Grid>
            <!-- Settings Panel Content -->
            <Grid Grid.Row="1" Margin="40,24,23,0" VerticalAlignment="Top" Grid.ColumnSpan="2">
                <Grid.Transitions>
                    <TransitionCollection>
                        <EntranceThemeTransition FromHorizontalOffset="120" />
                    </TransitionCollection>
                </Grid.Transitions>
                <StackPanel>
                    <TextBlock Foreground="Black" FontWeight="Black" FontFamily="Segoe UI" Text="English-Persian" FontSize="24" />
                    <TextBlock Foreground="Black" FontWeight="Black" FontFamily="Segoe UI" Text="Dictionary" FontSize="24" Margin="100,0,0,0"/>

                    <TextBlock Foreground="Black" FontFamily="Segoe UI" FontWeight="Light" FontSize="14" Margin="0,50,0,0"><Italic>Designed and Developed By:</Italic></TextBlock>
                    <TextBlock Foreground="Black" FontFamily="Segoe UI" FontWeight="SemiLight" FontSize="24" Margin="26,0,0,20">M. Babaeizadeh</TextBlock>
                    <TextBlock Foreground="Black" FontFamily="Segoe UI Symbol" FontWeight="SemiLight" FontSize="18">&#xE119; babaeizadeh@outlook.com</TextBlock>

                    <TextBlock Foreground="Black" FontFamily="Segoe UI" FontWeight="Light" FontSize="14" Margin="0,50,0,0"><Italic>Available Online at:</Italic></TextBlock>
                    <TextBlock Foreground="Black" FontFamily="Segoe UI Symbol" FontWeight="SemiLight" FontSize="18">&#xE118; persiandic.codeplex.com</TextBlock>

                </StackPanel>
            </Grid>
            
            <Image Source="Assets/Logo.png" VerticalAlignment="Top" HorizontalAlignment="Right" 
                   Grid.Column="1" Stretch="None" Margin="0,0,0,0" Grid.RowSpan="2"/>
        </Grid>
    </Border>
</UserControl>
